<div class="hfr-body">
	
	<script>
		jQuery(function() {
			
			<!-- tab option -->
			jQuery("#hfr-tabs").tabs();
			
			<!-- active tooltips -->
			jQuery("[data-toggle='tooltip']").tooltip();
			jQuery("[data-toggle='popover']").popover();

			<!-- close js -->
			jQuery("#hfr-link-selecter-js .hfr-close-js, #hfr-custom-selecter-js .hfr-close-js").click(function(){
				jQuery(this).parent().hide("slow");
			});

		});
	</script>
 
    <form method="post" action="" class="hfr-form-get-content">		
		<div class="hfr-alert-success"><strong>Congratulations! </strong>Add source successfully.</div>
		<div class="hfr-alert-danger"><strong>Error! </strong>Could not get source, please recheck your information.</div>
    	<div id="hfr-tabs">
            <ul class="hfr-tab-item">
                <li><a href="#hfr-tabs-1">Source's information</a></li>
                <li><a href="#hfr-tabs-2">Options</a></li>
            </ul>
            
            <!-- tab 1 - source's information -->
            <div id="hfr-tabs-1">
            	<p>Follow these steps bellow to get content. <a href="#">Click here to show all steps</a></p>
            	<div class="hfr-step">
                    <h2 class="hfr-step-name">Step 1</h2>
                    <div class="hfr-input-group clearafter">
                        <label for="hfr-sitemap">Sitemap</label>
                        <input type="text" id="hfr-sitemap" name="hfr-sitemap" />
                        <a href="#" class="hfr-addon hfr-btn-blue" disabled="disabled">Check sitemap</a>
                        <img src="<?=HFR_PATH?>includes/assets/images/loading123.gif" class="hfr-loading" />                        
                    </div>
                    <div class="hfr-step-instruction">
                        <ul>
                            <li>Enter the sitemap that you want to get content.</li>
                            <li>Click "Check Sitemap" to check if url is valid and supported.</li>
                        </ul>
                    </div>
                </div>
                <div class="hfr-step">
                    <h2 class="hfr-step-name">Step 2</h2>
                    <div class="hfr-input-group clearafter">
                        <label for="hfr-link-selector">Link Selector</label>
                        <input type="text" id="hfr-link-selector" name="hfr-link-selector" />
                        <a href="#" class="hfr-addon hfr-btn-blue" disabled="disabled">Check information</a>
                    </div>
                    <div id="hfr-link-selecter-js">
                    	<span class="hfr-close-js">x</span>
                    </div>
                    <p class="hfr-text-error"><span class="hfr-label-important">Error</span> Could not get the link, please recheck the selector.</p>
                    <div class="hfr-step-instruction">
                        <ul>
                            <li>Click "Check information" to verify the selector.</li>
                        </ul>
                        <p>Developer <a href="#">click here</a>.</p>
                    </div>
                </div>
                <div class="hfr-step">
                    <h2 class="hfr-step-name">Step 3</h2>
                    <p><span class="hfr-label-info">Sample link</span> <a href="#">http://www.designer-daily.com/awesome-ipad-wallpapers-11871</a></p>
                    <div class="hfr-input-group clearafter">
                        <label for="hfr-title-selector">Title Selector</label>
                        <input type="text" id="hfr-title-selector" name="hfr-title-selector" />
                    </div>
                    <div class="hfr-input-group clearafter">
                        <label for="hfr-content-selector">Content Selector</label>
                        <input type="text" id="hfr-content-selector" name="hfr-content-selector" />
                    </div>
                    <div class="hfr-input-group clearafter">
                        <label for="hfr-remove-selector">Remove Selector</label>
                        <input type="text" id="hfr-remove-selector" name="hfr-remove-selector" />
                    </div>
                    <div id="hfr-custom-selecter-js">
                    	<span class="hfr-close-js">x</span>
                    </div>
                    <div class="hfr-step-instruction">
                        <ul>
                            <li>Type selector in 2 parameters "Title Selector" and "Content Selector" to get the title and content of the post.</li>
                            <li>
                                Type the selector in parameter "Remove Selector" to remove the part of content that you don't want to get.
                                <ul>
                                    <li>Each selector will be separated with the comma.</li>
                                    <li>Example : script, .addthis_toolbox, textarea</li>
                                </ul>
                            </li>
                            <li>Click "Preview" button to see the result.</li>
                        </ul>
                        <p>Developer <a href="#">click here</a>.</p>
                    </div>
                </div>
            </div>
            
            <!-- source option -->
            <div id="hfr-tabs-2">
            	<div class="hfr-options">
                
                	<!-- frequency -->
                    <div>
                        <p>Frequency : 12 hour</p>                        
                        <p class="hfr-text-warning">High value of frequency may cost you more credits. <br /> <strong>Recommended value : 6h - 24h.</strong></p>
                    </div>
                    
                    <hr />
                    
                    <!-- categories -->
                    <div class="clearafter hfr-options-categories">
                        <div>
                        	<div class="hfr-input-group clearafter">
                            	<input type="text" placeholder="Categories" />
                            </div>
                            <p class="hfr-text-info">Type categories, separated by comma.</p>
                            <p><span class="hfr-label-info">Example</span> category, category-1, category-2 ... </p>
                        </div>
                        <div>
                        	<div class="hfr-well">
                            	<div class="hfr-categoryListing">
                                	<ul>
                                        <li>
                                            <label class="checkbox"><input type="checkbox" class="checkcategory" name="cate" value="basics">basics</label>
                                            <span title="remove" class="hfr-icon-remove">x</span>
                                        </li>  
                                        <li>
                                            <label class="checkbox"><input type="checkbox" class="checkcategory" name="cate" value="basics">basics</label>
                                            <span title="remove" class="hfr-icon-remove">x</span>
                                        </li>
                                        <li>
                                            <label class="checkbox"><input type="checkbox" class="checkcategory" name="cate" value="basics">basics</label>
                                            <span title="remove" class="hfr-icon-remove">x</span>
                                        </li>  
                                        <li>
                                            <label class="checkbox"><input type="checkbox" class="checkcategory" name="cate" value="basics">basics</label>
                                            <span title="remove" class="hfr-icon-remove">x</span>
                                        </li>
                                        <li>
                                            <label class="checkbox"><input type="checkbox" class="checkcategory" name="cate" value="basics">basics</label>
                                            <span title="remove" class="hfr-icon-remove">x</span>
                                        </li>  
                                        <li>
                                            <label class="checkbox"><input type="checkbox" class="checkcategory" name="cate" value="basics">basics</label>
                                            <span title="remove" class="hfr-icon-remove">x</span>
                                        </li>
                                    </ul>
                            	</div>
                            </div>
                        </div>
                    </div>
                    
                    <hr />
                    
                    <!-- source option -->
                    <div class="hfr-source-option">
                    	<div class="clearafter">
                        
                        	<!-- link -->
                        	<div>
                            	<div class="hfr-well">
                                	<h4>
                                    	Link
                                        <a
                                        	class="hfr-btn-blue hfr-btn-small hfr-right"
                                        	data-content="<p><a target='_blank' href='https://support.google.com/webmasters/answer/96569?hl=en'>Click here</a> for more information.</p>"
                                            data-placement="top"
                                            data-toggle="popover"
                                            data-container="body"
                                            data-html="true"
                                            data-original-title="Link">
          										info
        								</a>
                                    </h4>
                                    <hr />
                                    <label>
                                        <input type="radio" value="nofollow" checked="checked" name="typelink">
                                        Nofollow
                                    </label>
                                    <label>
                                        <input type="radio" value="follow" name="typelink">
                                        Follow
                                    </label>
                                </div>
                            </div>
                            
                            <!-- Get All Link  -->
                            <div>
                            	<div class="hfr-well">
                                	<h4>
                                    	Get All Link 
                                        <a
                                        	class="hfr-btn-blue hfr-btn-small hfr-right"
                                        	data-content="<p><strong>Yes</strong> : Get all posts that found.</p><p><strong>No</strong> : Get latest post.</p>"
                                            data-placement="top"
                                            data-toggle="popover"
                                            data-container="body"
                                            data-html="true"
                                            data-original-title="Get All Link">
          										info
        								</a>
                                    </h4>
                                    <hr />
                                    <label>
                                        <input type="radio" value="nofollow" checked="checked" name="typelink">
                                        Yes
                                    </label>
                                    <label>
                                        <input type="radio" value="follow" name="typelink">
                                        No
                                    </label>
                                </div>
                            </div>
                            
                            <!-- Source   -->
                            <div>
                            	<div class="hfr-well">
                                	<h4>
                                    	Source  
                                        <a
                                        	class="hfr-btn-blue hfr-btn-small hfr-right"
                                        	data-content="<p><strong>Yes</strong> : Reference will be remained on post. it will be displayed at the bottom of the post</p>"
                                            data-placement="top"
                                            data-toggle="popover"
                                            data-container="body"
                                            data-html="true"
                                            data-original-title="Source">
          										info
        								</a>
                                    </h4>
                                    <hr />
                                    <label>
                                        <input type="radio" value="nofollow" checked="checked" name="typelink">
                                        Yes
                                    </label>
                                    <label>
                                        <input type="radio" value="follow" name="typelink">
                                        No
                                    </label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="clearafter">
                        
                        	<!-- Source Type  -->
                        	<div>
                            	<div class="hfr-well">
                                	<h4>
                                    	Source Type
                                        <a
                                        	class="hfr-btn-blue hfr-btn-small hfr-right"
                                        	data-content="<p>The format of source when display.</p><p>(display as Text or <a href='#'>Link</a>)</p>"
                                            data-placement="top"
                                            data-toggle="popover"
                                            data-container="body"
                                            data-html="true"
                                            data-original-title="Source Type">
          										info
        								</a>
                                    </h4>
                                    <hr />
                                    <label>
                                        <input type="radio" value="nofollow" checked="checked" name="typelink">
                                        Text
                                    </label>
                                    <label>
                                        <input type="radio" value="follow" name="typelink">
                                        Link
                                    </label>
                                </div>
                            </div>
                            
                            <!-- Source Image  -->
                            <div>
                            	<div class="hfr-well">
                                	<h4>
                                    	Source Image
                                        <a
                                        	class="hfr-btn-blue hfr-btn-small hfr-right"
                                        	data-content="<p>The place to store images.</p><p>Original: Treat image source as link.</p><p>CDN : images will be stored at google.</p>"
                                            data-placement="top"
                                            data-toggle="popover"
                                            data-container="body"
                                            data-html="true"
                                            data-original-title="Source Image">
          										info
        								</a>
                                    </h4>
                                    <hr />
                                    <label>
                                        <input type="radio" value="nofollow" checked="checked" name="typelink">
                                        Original
                                    </label>
                                    <label>
                                        <input type="radio" value="follow" name="typelink">
                                        CDN
                                    </label>
                                </div>
                            </div>
                            
                            <!-- Source   -->
                            <div>
                            	<div class="hfr-well">
                                	<h4>
                                    	Remove tag &lt;a&gt;
                                        <a
                                        	class="hfr-btn-blue hfr-btn-small hfr-right"
                                        	data-content="<p>Remove tag < a > in article</p>"
                                            data-placement="top"
                                            data-toggle="popover"
                                            data-container="body"
                                            data-html="true"
                                            data-original-title="Remove tag < a >">
          										info
        								</a>
                                    </h4>
                                    <hr />
                                    <label>
                                        <input type="radio" value="nofollow" checked="checked" name="typelink">
                                        Yes
                                    </label>
                                    <label>
                                        <input type="radio" value="follow" name="typelink">
                                        No
                                    </label>
                                </div>
                            </div>
                        </div>
                    </div>                    
                </div>
            </div>
        </div>
        
        <hr />
        <p>Click Preview button to check to be ok before click Add source</p>
        
        <!-- Button trigger modal -->
        <a href="#" class="hfr-btn-light" data-toggle="modal" data-target="#myModal">Preview</a>
        <button type="submit" class="hfr-btn-blue" disabled="disabled">Add Source</button>
    </form>
        
    <!-- Modal -->
    <div class="hfr-modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="hfr-modal-dialog">
            <div class="hfr-modal-content">
                <div class="hfr-modal-header">
                    <h3 class="hfr-modal-title" id="myModalLabel">Post Preview</h3>
                </div>
                <div class="hfr-modal-body">
                	<div class="hfr-content-center"><img src="http://localhost/wordpress/wp-content/plugins/hatforrent/includes/assets/images/loading123.gif" /></div>
                	<!-- BEGIN CONTENT -->
                	<h5>
						<span class="label label-important">Link</span> 
						<a href="http://www.articledashboard.com/Article/The-word-that-will-help-change-our-economy-fear/3001277" target="_blank">http://www.articledashboard.com/Article/The-word-that-will-help-change-our-economy-fear/3001277</a></h5>
					<hr>
					<h5>
						<span class="label label-important">Title</span> 
						The Word That Will Help Change Our Economy, Fear</h5>
					<hr>
					<p class="label label-important">
						<strong>Content</strong>
					</p>
					<div>					
					 	Hi, Im Terry Valdez, I am an educator, journalist and professional marketer that likes to help people win in these economic times. I want to help people face their fears, and help them overcome their fears so that they may have a better, brighter future. You can connect with here: http://www.terryvaldez.weebly.com 
					</div>
					<!-- END CONTENT -->
					            
                </div>
                <div class="hfr-modal-footer">
                    <button type="button" class="hfr-btn-light" data-dismiss="modal">Close</button>
                </div>
            </div><!-- /.modal-content -->
        </div><!-- /.modal-dialog -->
    </div><!-- /.modal -->
</div>